Remvoed some unuseful file management functions
Enforced CWD check upon package loading, to ensure the build script's directory is always the CWD