Added a primary Key value (not taken into account in generation for now).
Added Database and Singleton pattern in databasePattern