Added loader to application