move old library
implement and update library

- memory
- endian
- riff