added tern tree algo
author autocompletion; db init scripts