Boring Sunday - Added a lot of older engine code

Updated a few features and tidy ups
Starting to improve engine from older version