Simplify a lot of code
Implement the Array type