Renaming crypto module and use oop