Added maven support, created MainDialog