gateway class added
read gateway configuration from database
Merge branch 'develop' of github.com:amooma/GS5 into develop