added log4j.xml, added rudimentary input validation method to wards