Seperate functions and DB connect