A big realignment of functions. I created a partials folder. I haven't been... partial to the name "partials", but it works... Moved admin functions to be separate. Made classes to wrap some functionality.