Implement add command

@theneikos please review