Added more warnings. Fixed some analyzer error.
Inlined some functions. Converted to test bundler runner for CI