Adding application weight and deadline on command line

Parameters addition, initial application weight and application
deadline.