Added comments to add functions
Added small memory use improvement
Created new method to allow flashing
Fixed function
Completed flashing