Move requires

This is just a first step towards distributing requires across all files
with dependencies
Use EMPTY_HASH constant in Mapper.build
Remove obsolete code