Fixed some things mainly capitalization and added in a few missing functions.