Removed addPooledComponent from Entity.
Formatting, removed unnecessary SuppressWarnings and commented code.