Prepare initial application structure