Add database instance singleton
Add client model
Add file model
Add purchase model