refactored to Pic class, prints action to commandline
removed io.pyc