added category table and moved to postgee DB