Modified project to Maven project

Modified project to Maven project. Added some examples how to use swing.