in process of fixing loading bug.
Fixed loading bug, cleaned up code.

Added inline parser, removed getFile, changed addFile to file,
Passing file data through xhr object.
Delete debug code