nearing completion
added swagger section and redone the keygen part