Refactor request
Add errors file
Update license