added basic button handeling

not complete