restructuring app to better suite clint vs server development and testing. adding client code testing including code coverage