Feature/ui autoincrement

#28  modified to autoincrement.