Ec format v2.0

note (20130924): not yet finished, this is currently a placeholder for more work on this