Generic GET function added and are now used. Old parts are currently kept commented out.
Merged