Make project into library; remove not needed files.