Separating server and android