Move initialization tasks to static constructor