Start completer refactor.
Add completer for project code.

Also refactor parts of the completions methods.