create a data class for a CRD
change calc() to non-static method
implement a function to parse a given AST and detect all the methods included in it