create custom logger
move unique key generation functionality into video model