stdlib classes emulation

- initial support for scala library classes emulation
- array support
- array tests