initial console plugins refactor