Move ep.[ch] into top-level include/ and src/ directories