Fixed wrong creation of obstacle table + commit/rollback impl