mousetrap api [wip]

closes #1