add to config default algo type
remove nameless const from config init and rename algo type constIssue #13