refactored into encode(), added decode(), created a basic seed.py
Placeholders for open and line functions, json->dict in decode()