Adding composer.json and moving app to library subfolder