Clean up deprecated code
Clean up formatting of classes method
Start on sanitisation
Fix bugs in select2 post select
sanitizing