Cleanup

Created ls.h
Renamed and moved around the functions a tiny bit