added LICENCE. altered st.cpp and readme