Move PiwikPlugin class to plugin.py file
Move base query classes to base.py
Absolute imports