add docs
allow defining simple resources without controller; fix class name typo