Major memory usage improvements

BasePacket changed.
AccountServer updated to handle autofilling in old account purchases
Asset server now supports gates
Gateway is more robust
New purchase server - does not compile yet.