The base code for everything