refactored android client to use one common thread for all controllers