adding support for build, abstracting the lookup process into a separe lib, adjusting loader to do a better job scanning and processing.