lxc refactor

Beginnings of an lxc restructure per discussion with @thatch45.