lots of work done to improve db handling. init seed script near complete