Made Basil handle project port allocation.
Made a couple of small fixes to get things runnning.