- Now using getopt to get arguments from command line
- Fixed some initialization bugs on b91 loader
- Moved memsize parameter under state struct