massive refactoring
cs fix
add scrutinizer config