added a mysql class, renamed server in php and client in javascript, layout will be returned again (not fully functional)