fix core module compiler errors, removed redundant methods
bug fixes for aerogear demo