Added a logger
logger
fixed a bunch of bugs with labels, removed the unneccesary label.label system. Performance tweaks #41, #4