Added property change support and constructor the model.java.