DB Connection and Get Speeds

Start of DB Connection and simple function to get speeds.