Made it possible to set a base prefix
Cleaned up a few things