remove private functions prototypes

Should I remove public function prototypes too?
remove all 'version' mentions
minor coding style and comments improvements