changed getavail to syncrhonous
Merge branch 'master' of https://github.com/tmlai/CMPUT410-TTHE-Group-Project