Created server and user interface. Updated model functions.