updated server socket
updated main view
updated main controller