Adding database code and new player screen