made platform class
made platform collision