adjusted gpio to __init__, added rough ws framework