Added mains package.

Created mains package and moved the Main class into it.