creating main class

main class created
Merge pull request #2 from Thavinga/patch-2

creating main class