Can now builds a runnable jar.

Also added Command trait.