Reconfigured template as a result of having public cards added to the meta post
Reorganized code and fixed some bugs
Added UTF-8 encoding to all files (PEP 0263)