Added generic interface for board and mock for testing. Renamed files.