Dynamically detect src dir and provide package builder

A way to dynamically detect wich directory the source exists in as well
as a builder that will easily build packages for use with push and
fetch. Greatly cleans up the push.go file and could be used with
fetch.go with some work