add MVC pattern to GUI project, add id to square domain in dao, update sql