created buildAction()

For now the method only writes actions's parameters
Removed Precondition.java class