date parsing fixed, added categories parsing