Refactoring

user can now create slugs by passing the title and subtitle into the Post class instead of within the app