Refactoring: move World to api/worlds

That way users will be able to inherit and extend the base world
implementation.