Editor nearing completion

Moved editor into a class
Editor:
	Fix - Undo
	New - Hover preview