Fixed classpath and warnings