Adding Missing Files and Implemented fix for TYPO3 Version

I added the missing files and implemented a fix for TYPO3 Version > 6.1