Renamed repository to resource. Autoload

Resources can be made by referencing an Eloquent model + Resource, for
example: FoobarResource.