create interface to guts of tahrir, also maybe set up dependency
injection