Small Changes

Edited the encode method in MainFrame. Refactoring methods in cashier
class. Added subscribe button at Encode_View.php