Moves moduels from revel library to this repo

See revel/revel#785 for more details.