is_file fixing

is file good for checking
[Remove] Duplicated code

[Add] horus.session_name to config
[Remove] Duplicated code
[In work] Singleton is tooooooooo+ million bad :