Got static database retrieval and historic view working.