main class file added
all compilation erros fixed