Working out the application logic as a standalone library that pulls in other libraries