changed license to mit, introducing a variable for require modules, simplified template helpers, no more reverse notation, minor issues