Backup before refactoring code
New prompt interface, added levels and new rules