Change base directory initialization to constructor