Classical Mechanics as a topological field theory