Get rid of java code, unify libraries names and make ant file