Added several function prototypes and TODOs for the remaining ones