Added some core files - most of the ones which will need to be edited to account for a change in plugin environment