Drop web2

This branch is good enough. Even though the unit tests are not complete, there are full integration parts for the gateway code.