Fixed design to use not constructor but prototype.
Added buy phase GUI.