implemented basic entities and testing them