detect whether class is a project class or not and added possibility to link to PHP classes