Add dep core module.
Added karma unit testing.