Started work on buildprocess and minor fixes