split the project into two parts. Needs to be cleaned up but works