Changed primary key definition.
Started working on web ui.