changed API to return element instead of HTML, added flip animation
Added memo_level and category options