Removed unnecessary code (demo, PIN generation, etc.)