chore: added media and static to gitignore
chore: improved pep-8 conformance
chore: code beautification