Framework work and adding events

Using subscription to the EventHandler, events were added, also
resources framework fleshed out