Replaced some JDBC Statement objects with PreparedStatement objects
Increases speed, reduces redundant processing, automatic sanitisation