Added Entity System

Added skeleton of entity state system;