Added GPL-3 license, closes #2
Added validations and made including representer easier