Renaming and added auto import of classes

Some preparing commits before implementing queries.
Looking at requests and other Python libs I added automatic import of api class to make import more elegant.