Laying application foundation.