added all missing api modules
made terminal accept a url and a token as arguments.
better parameter parsing
tweaked metaclass naming method
small terminal bugfix