Optimization for Wireless Powered Communication Networks