added rails satrtup and some parameters needed for rails