add configurable options

add option for hiding seconds & sunset/rise
add prototypes for other config options
move getloclation call to communication