adding apache jar and fixing directory