core: Added session decorator to DatabaseHelper and new Database Object class