epy is already a library - no need for separate lib dir. All significant files should go directly to the rrot dir.
Cosmetics
epy should not provide any support to multitasking. It is a job of OS powered platform. Epy should ONLY provide HAL, i.e. abstraction wrapper around low-level IO, as well as drivers for various devices - peripherals (motors, thermometers, etc...).