Add better reversed URL support in @id. modify couple model fields

Additional:
- Many PEP8 fixes
- Some testing