Add a lot more documentation;
move poll_time to config file