Separated classes and shell into files