Refactor/Migrate webconsole