fixed old MACH_TIME macro reference
fixed mac related error
Merge pull request #1 from karshPandey/master

Mac error fix
seperate out database and util functionality
pulled database update from master