Clean up code and insert additional methods

setSleeping(boolean flag);
isSleeping();
Merge pull request #4 from skyrimfan1/master

Add-on