some fixes and setting repo up