Moved some strings on flash memory

In order to reduce the stack usage, some strings have been moved on the flash memory.
Removed hidden temp files that have been wrongly updated.
Added a header template that should be used for each function.