Connection now works, need to add interaction with GUI tho.