First stable database model and 9k lines of code