Phase1

Added essential parts to the model.