Added basic Component class as well - forgot it was needed for Ship class.