Added gradle files.
Added new utils for entities and stacks.