Initial render engine for zIndex
Render engine updated to work with given functions instead of drawing by itself.
Asset manager rewritten a bit