added nonetype check in Result constructor
removed test code
formatting
added centering class to title