Add basic partial functionality

Very basic functionality for partials added; partials are located in the lib/views/partials folder.