fixed require Dependency error

changed history to work with hash

added loading message