removed render method
Added main core class