basic entity class and player movement