Moved analysis to a single function that will allow to explore options
Analysis moved to a specific file.