Added State objec to BMCanvas. Save implemented