Create ectworker.py

The worker file, this handles all of the work and is currently being rewritten to use SQLAlchemy to store information.