added tape module and wrote some tests.