second and third iteration

Subject functional had been added in second iteration.
Client side to database added in third iteration