Changed assertion to runtime error
Add basic implementation to the World class