implement basic level rendering + some collision code