set up class files, and running command