how to move tables from public to other schema in Postgres

Solution 1:

ALTER TABLE yksus1
    SET SCHEMA firma1;

More details in the manual: http://www.postgresql.org/docs/current/static/sql-altertable.html

Associated indexes, constraints, and sequences owned by table columns are moved as well.

Not sure about the trigger function though, but there is an equivalent ALTER FUNCTION .. SET SCHEMA ... as well.