Implemented application stage filtering and updated sola.vpp and sola.sql with necessary changes