Large refactor (parameters, relative imports)

Details:
- Change the parameters to indicate row or col from boolean arguments to a single constant
- Made all imports relative that should be
- Added a constants file to hold the constant parameters mentioned above
- Modified tests to reflect new parameters
- Changed directory structure for tests and made them into a package