fix compilation, added controller for projects