Moved module definition parsing to spaghetti-core
Added test for SymbolCollectVisitor