moved database outside of the project, added the ability for functional test to run on other url