Restructure the whole project

Better scope and more accurate script responsabilities