code restructured
code restructured
add Main class
code restructured