contains code that is tested initially on ipynb notebooks and then implemented as standalone on scripts