update db, add bootstrap, complete core functionality