Added ResourceLoader.
Moved all internal files to embedded resources.