Rewrote most of the engine and added texture support.

TODO:
- Add string writing and font support