add editor config cause I like it
refactor and start play and pause funcitonality