* Added unit test for offset specification functionality and fixed some bugs that popped up from the effort
* Refactoring, cleaning up, documenting