Use Ruby 1.8's hash syntax

Consistency is important
Remove needless require
Organize code structure