added main function
got .class files