Added DB

Added DB object, started working on the nibs