outsourced code generation for discovering references into trait DiscoverReferences
Updated Boot.scala to actual DocumentAST
Splitted DocumentAST into multiple files