Finish setup as importable module