Added xib and started to integrate xib into code.