added history controller, more fake backend API stuff