added base tile entity class and some resource references and utility from pahimar's setup