Moved around code, started working on main code.

Added list_tags() function. Started writing parsing code.

Bytes objects don't have .format(), so I won't support it anymore.