Make common app

Moved shared code/assets into a common app called 'lib'