attempted fixes for #4

implemented rescheduling, refactored code for tests (coming up in next
commit), bumped version up to 0.2
unit tests and travis

hurray for unit tests, coverage is tiny for now - needs more work