Minor refactor moving loader from instance to local variable
Added licence to gemspec. Closes #1