Added a abstract factory for generating datatables and a view helper