Renamed main.py to redd.py; added proper namespaces