Add module with functions for analysis