Automated fixes to follow Rust development

Applied fixes:
	*extern mod is obsolete
	*crate extra was removed
	*attribute fix
Merge branch 'pr/2'
Fix obsolete code