moved resolveSpec to compile. Added missing method from last commit. fixed misscalled methods from merge
moved resolveSpec to compile. Added missing method from last commit. fixed misscalled methods from merge

bline/remix