Fixes for api.apicrud module

Fixed some of the pylint warnings and left others to be handled in a next refactor
Good.