Added main detail layout, Cleanup of category data