added smooth build file
added Main class
removed unused Debug class