made projects view as a separate class