added a loader
added a componentDidMount callback
added a loadEvent function
added style ...inline
re-aligned code
added some helpers