Moved index functions out into separate file
Moved history functions out into separate file
Moved issues_as_rows into _internal namespace
Removed redundant parameter from created method