Removed old code.
Added plugins to the initialization process.