Added Sqlite class, standardized on command names, used Sites for almost all site operations