Board factory

I'm not sure if I should try to add more tests both to the integration test and the unit test, I'm happy for any suggestions.