Updated documentation. Re-wrote how parameters are passed in to make them a lot more fluid