Added validations and made including representer easier
Fix dependency bug of HAL