code cleanup and function creation.
notably, found a bug with Hy "slice"
will fix this on hylang shortly... ish..