Just use Pi core, no need to reinvent the wheel.