contains backend code for android app