Cleaning menu
Close resource
Extract decrypt business logic into a separate file
Exctract encrypt business logic into a separate file
Exctract encrypt business logic into a separate file