Absrtact server, router and db out of main.
Super basic data insertion. Woot.