converts the project to a component