Refactor project detection and run

**Not ready to be merged but working**

It gives a better structure for a project type with meta informations, detection, run script, ...