User:Pawanseerwani 1/temp

On a higher level, the php code would comprise of following class structure

JS Code would involve following components :