[WIP] Data type is array

PR linked to Issue #21.

@aik099 any idea how to fix the problem with you commits in this PR? I just pulled master before creating the branch. Maybe just rebase everything and just keep my commits.