Made some few changes in the source code and structure

Now there's an Ant buildfile which will help in compiling, creating the
javadoc and the jar file.