Add script and build tasks, update structure.