refactors project layout