Rename api_tomdoc to api_tommy (Have you met tommy?)
Better module declaration
more cleaning