added parsing of categories, removed parse handler singleton should fix #1