Did some concept code for the DB. Nothing tested as yet.