I want to run some actions on start one time

There is a way to run actions first time on application start, just define OnApplicationStart function like that:

On application start function runs only one time with one thread. You can place initialization code there.