* started working on historic api * very rough code * moved * also publishing * todos * added tests * added * fix