create position class
add fest assert in dependencies
move handling for pieces