changed bundle name + finished database structure
created register function