moved unused files to /old/ and also converted c99 conventions to ansi