convert files to modert obj-c syntax

some small cleanup