chore: Refactor makefile and update dependencies in pyproject.toml (#250)