* fixes for secondsToTime bug, fix for direction_id handling
* added additional function for direction names and fixed up some stuff
Merge conflict with arkitex