Setting up base code and structure.