Removing useless dependency
Partial implementation of detach
Renamed create command to attach
Removed obsolete attribute
Secured transactions: locked and DB-transactionned.