Added console helper and import script. Refactoring.