Cleaned out unused files, changed system core to work with cli applications, added lpm