Add basic core.py with clock and reset.