integrated Fantail library (by Quan Sun) in webapplication. Changed Java Preamble