Fixed lots of minor issues, removed unecessary requires from testing environment, and made the full gem functional