MNT: Fixed basic element creation to include more constants

MNT: Fixed link direction based on caswell comment
MNT: BasicElement now working and passing all tests
MNT: All tests passing with XRF refactor

MNT: Cleaned up imports