wip: add analysis module with tests