renaming of database helper
using constants instead of raw strings
adds storing routes geometry