modified the tests to run flaskrilio server in backgroud as a regular unix process
and added handlers that allow us to connect to it and its sqlite db
removed all the redundant files