Added tables to the remote database and fixed some bugs.