fixed a lot of bugs, implemented part of functions
removed accidental comments
fixed functions
remvoed force load from config file