added installation procedure for submodules, tern.