Model: added entity fromArray() method

import values from an array