some commands added
translate function added
Graph class modified; db exception fixed