Refactoring of curve.h & enemy

Curve.h should now be usable without including other header files.