Fixed "unsupported architecture" error

- created header file
- fixed "implicit declaration" error
begun to write the methods for the unit file
removed decrpty and encrpt methods, not really needed