Add attributes system

Necessary to save all in a file

Signed-off-by: Daniel Francis <francis@sugarlabs.org>