MAJOR! Base built and most of snippet functionality added.