code cleanup
Version 0.3, partial label support, many bug fixes, some code cleanup
Version 0.4, Labels working, big code cleanup and reduction