Refactor, adding functions
Authentication
Remove REPL history