Added accounts module, removed insecure, factored out models