Makes FileLib independant
Adds missed command functions

Should be finished now and work