Convert application to a library project