decoupled server and data from app for unit testing