Able to build the entire project using @StaticCompile!
Fixed the runtime issues.