Massive restructure to PWApi: Changed commands to rather than end execution after each command a value will be returned. This allows PWApi to internally call multiple commands.