Vector and HashMap instances

@hesselink can you review this please?