Renamed some internal field
go fmt
Added keypress method