Base Code

Contains much of the skeleton