updates for unit tests
fixed not in service bug
moved most of the python files into backend folder