Generic usage and version functions

* Also fix permissions on rcdn
Add a TODO dist target