refactored app code to be a factory, config works, dummy data import works, extended tests
Merge "refactored app code to be a factory, config works, dummy data import works, extended tests"