Code standardisation and reformattijng