Created skeleton of presign method
Filled in presign method more, ready for main work.