added sweet alert's, created firsbase factory, moved files.