I'd recommend making at least three games and shipping them on existing engines before trying to write your own. That's the best way to figure out what is and isn't a must-have feature.
Beyond that, if you're interested in physics look up everything Erin Catto has written about the design and implementation of Box2d.