adding transactions, cleaning up css/html, and refactoring python.