trying to get running. Can now sync database
fixing bugs with import errors and template loading