The synthesis, characterisation and functional testing of metal oxide thin films