Added Class Main

Class Controller dose not perfect becase it had many static variebles

Class Main for create .exe .